# -*- coding: utf-8 -*-
# @Time    : 2019/12/10 18:55
# @Author  : Damn7Kx
# @Software: PyCharm
import re
from readability import Document
from func_timeout import func_set_timeout
from w3lib.html import remove_tags


@func_set_timeout(2)
def extract_html(html):
    doc = Document(str(html))
    content = doc.summary()
    try:
        if not content:
            return None
        content_1 = remove_tags(content)
    except:
        raise Exception('解析html时不是字符串')
    content_ = content_1.replace('\n', '').replace('\t', '').replace('\r', '')
    content = "".join(content_.split())
    return content


# 提取作者信息
def extract_author(text):
    pattern = re.compile('[\s\S]+[作者|编辑|记者|责编|来源][:|：].*?([\S\s][\u4E00-\u9FA5]+)', re.S)
    match_re = re.search(pattern, text)
    return match_re.group(1)


# 提取时间 借鉴github
def extract_pubtime(div_text):
    pubtime = ''
    pubtime = re.search(
        r'(\d{4}\s*[年\-:/]\s*)\d{1,2}\s*[月\-：/]\s*\d{1,2}\s*[\-_:日]?\s*\d{1,2}\s*:\s*\d{1,2}\s*(:\s*\d{1,2})?',
        div_text, flags=re.S | re.I)
    if pubtime:
        pubtime = pubtime.group()
    if not pubtime:
        pubtime = re.search(r'(\d{4}\s*[年\-:/]\s*)\d{1,2}\s*[月\-：/]\s*\d{1,2}\s*[\-_:日/]?', div_text,
                            flags=re.S)
        if pubtime:
            pubtime = pubtime.group()
    if pubtime:
        pubtime = pubtime.strip()
        pubtime = pubtime.replace('年', '-').replace('月', '-').replace('日', ' ').replace('/', '-')
        pubtime = drop_mutil_blank(pubtime)
        return pubtime
    else:
        return pubtime


def drop_mutil_blank(str):
    str = re.sub(r'\s{2,}', ' ', str)
    return str


if __name__ == '__main__':
    a = '''

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

  <head>
  <meta name="keywords" content="阳光说法">
<meta name="description" content="阳光说法"/>
<title>阳光说法</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
    />
    <link href="App/Tpl/Wap/Default/Public/css/style.css" rel="stylesheet"
    type="text/css" />
    <script type="text/javascript" src="/Public/jquery/jquery-1.7.2.min.js">
    </script>
    <script src="App/Tpl/Wap/Default/Public/js/common.js" type="text/javascript">
    </script>
    <script src="js/jquery.validate.js"></script>
    <script>
      //document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() { 
      //		WeixinJSBridge.call('hideToolbar'); 
      // });
      //document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
      //	WeixinJSBridge.call('hideOptionMenu');
      //  });
      /*
function weixinAddContact(name){ 
    WeixinJSBridge.invoke("addContact", {webtype: "1",username: name}, function(e) { 
        //WeixinJSBridge.log(e.err_msg); 
        //e.err_msg:add_contact:added 已经添加 
        //e.err_msg:add_contact:cancel 取消添加 
        //e.err_msg:add_contact:ok 添加成功 
        if( e.err_msg == 'add_contact:ok'){ 
            alert("关注成功");
        } else if(e.err_msg == 'add_contact:added'){
			alert("已经关注过!");
		}else{
			alert(e.err_msg);
		}
    }) 
} 
*/
      
    </script>
    
    <script src="layer/layer.js"></script>
<script src="js/jquery.flexslider-min.js"></script>
<script src="js/ScrollPic.js"></script>
<script type="text/javascript">
  function xy(a,b,c) {
            layer.open({
            type: 2,
            title: b,
            shadeClose: true,
            shade: 0.3,
            area: ['90%','300px'],
            content: 'xy.asp?id='+a+'&b='+b+'&c='+c//iframe的url
        });

    }

</script>

<script type="text/javascript">
  function hf(a,b,c,d) {
            layer.open({
            type: 2,
            title: d,
            shadeClose: true,
            shade: 0.3,
            area: ['90%','300px'],
            content: 'hf.asp?hy_id='+a+'&pl_id='+b+'&url='+c+'&d='+d//iframe的url
        });

    }

</script>
  </head>
     <style type="text/css">
.am-share { font-size: 14px; border-radius: 0; bottom: 0; left: 0; position: fixed; text-align: center; -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); -webkit-transition: -webkit-transform 300ms; transition: transform 300ms ; width: 100%; z-index: 1110; }
.am-modal-active { transform: translateY(0px);  -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0) }
.am-modal-out { z-index: 1109; -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%) }

.am-share-title { background-color: #f8f8f8; border-bottom: 1px solid #fff; border-top-left-radius: 2px; border-top-right-radius: 2px; color: #555; font-weight: 400; margin: 0 10px; padding: 10px 0 0; text-align: center; }
.am-share-title::after { border-bottom: 1px solid #dfdfdf; content: ""; display: block; height: 0; margin-top: 10px; width: 100%; }

.am-share-footer { margin: 10px; }
.am-share-footer .share_btn { color: #555;  display: block; width: 100%; background-color: #e6e6e6; border: 1px solid #e6e6e6; border-radius: 0; cursxqor: pointer;  font-size: 16px; font-weight: 400; line-height: 1.2; padding: 0.625em 0; text-align: center; transition: background-color 300ms ease-out 0s, border-color 300ms ease-out 0s; vertical-align: middle; white-space: nowrap;font-family:"微软雅黑";  }

.am-share-sns { background-color: #f8f8f8; border-radius: 0 0 2px 2px; margin: 0 10px; padding-top: 15px; height:auto; zoom:1; overflow:auto; }

.am-share-sns li { margin-bottom: 15px; display: block; float: left; height: auto;  width: 25%; }

.am-share-sns a { color: #555; display: block; text-decoration:none; }
.am-share-sns span { display: block; }

.am-share-sns li i { background-position: center 50%; background-repeat: no-repeat; background-size: 36px 36px; background-color:  color: #fff; display: inline-block; font-size: 18px; height: 36px; line-height: 36px; margin-bottom: 5px; width: 36px; }
.am-share-sns .share-icon-weibo { background-image: url(); }

.sharebg { background-color: rgba(0, 0, 0, 0.6); bottom: 0; height: 100%; left: 0; opacity: 0; position: fixed; right: 0; top: 0; width: 100%; z-index: 1100; display:none; }
.sharebg-active { opacity: 1; display:block; }

</style>



<div class="am-share">
  <h3 class="am-share-title">分享到</h3>
  <ul class="am-share-sns">
    <li><a href="#"  onclick="javascript:shareApp('wx','河北省唐山市迁西县陈保福出5万元寻说法','河北省唐山市迁西县陈保福出5万元寻说法','http://falv.sjdstv.cn/upfile/2019071911240513865.jpg')"> <i class="share-icon-weibo"><img src="fxtpok/weixin.png" width="40"/></i> <span>微信</span> </a> </li>
    <li><a href="#"  onclick="javascript:shareApp('wx-circle','河北省唐山市迁西县陈保福出5万元寻说法','河北省唐山市迁西县陈保福出5万元寻说法','http://falv.sjdstv.cn/upfile/2019071911240513865.jpg')">  <i class="share-icon-weibo"><img src="fxtpok/pyq.png" width="40"/></i> <span>朋友圈</span> </a> </li>
    <li><a href="#"  onclick="javascript:share3('河北省唐山市迁西县陈保福出5万元寻说法','http://falv.sjdstv.cn/upfile/2019071911240513865.jpg')">  <i class="share-icon-weibo"><img src="fxtpok/qqkongjian.png" width="40"/></i> <span>qq空间</span> </a> </li>
    <li><a href="#"  onclick="javascript:share1('河北省唐山市迁西县陈保福出5万元寻说法','http://falv.sjdstv.cn/upfile/2019071911240513865.jpg')">  <i class="share-icon-weibo"><img src="fxtpok/xlweibo.png" width="40"/></i> <span>新浪微博</span> </a> </li>
    
  </ul>
  <div class="am-share-footer"><button class="share_btn">取消</button></div>
</div>


 
<script>
  var app="";
    apiready = function(){  
    	app="app";
	document.getElementById('share').style.display='';
    } 
    if(app==''){  
     	document.getElementById('share').style.display='none';
       }
 function shareApp(index,bt,ms,tp){ 
    var title=bt; 
	var url= window.location.href;
    var xcontent=ms; 
    var cover_img=tp;
	api.execScript({ 
               	 name: 'root', 
               	 script: 'shareApp2("'+index+'","'+title+'","'+cover_img+'","'+xcontent+'","'+url+'");'  
            	}); 
}
</script>


<script type="text/javascript">
//分享到新浪微博 
var url= window.location.href;
function share1(title,picurl) { 
var shareqqstring='http://service.weibo.com/share/share.php?url='+encodeURIComponent(url)+'?sharesource=weibo&title='+title+'&pic='+picurl+'&appkey=2706825840'; 
window.open(shareqqstring,'newwindow'); 
} 
//分享到QQ好友 
function share2(title,picurl){ 

var shareqqzonestring='http://connect.qq.com/widget/shareqq/index.html?summary='+title+'&url='+url+'&pics='+picurl; 
window.open(shareqqzonestring,'newwindow'); 
} 

//分享到腾讯微博

function share5(content,picurl) { 
var shareqqstring='http://v.t.qq.com/share/share.php?title='+content+'&url='+encodeURIComponent(url)+'&pic='+picurl; 
window.open(shareqqstring,'newwindow'); 
} 


//分享到QQ空间 
function share3(title,picurl){ 
var shareqqzonestring='http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?summary='+title+'&title='+title+'&url='+encodeURIComponent(url)+'&pics='+picurl; 
window.open(shareqqzonestring,'newwindow'); 
} 
//分享到人人网 
function share4(title,picurl){ 

var shareqqzonestring='http://widget.renren.com/dialog/share?title='+title+'&resourceUrl='+encodeURIComponent(url)+'&pic='+picurl+'&description='; 
window.open(shareqqzonestring,'newwindow'); 
} 
</script>
<script type="text/javascript">
	function toshare(){
		$(".am-share").addClass("am-modal-active");	
		if($(".sharebg").length>0){
			$(".sharebg").addClass("sharebg-active");
		}else{
			$("body").append('<div class="sharebg"></div>');
			$(".sharebg").addClass("sharebg-active");
		}
		$(".sharebg-active,.share_btn").click(function(){
			$(".am-share").removeClass("am-modal-active");	
			setTimeout(function(){
				$(".sharebg-active").removeClass("sharebg-active");	
				$(".sharebg").remove();	
			},300);
		})
	}	
</script>

  <body class="body_article">
  



    <!--Logo 开始-->
    <div style="width:100%; height:50px; background:#fe0000; line-height:50px; color:#fff">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="20%" height="50" align="center"><a href="javascript:;" onClick="javascript :history.back(-1);" style=" font-size:16px; color:#fff">&lt; 返回</a></td>
    <td width="55%" height="50" align="center" style="font-size:18px;">重金寻找《阳光说法》网</td>
    <td width="25%" height="50" align="right"><table order="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><a href="m_cpss.asp"><img src="images/topok_01.png" height="35" alt="" /></a></td>
        <td><span class="okk" style="cursor:pointer"><img src="images/topok_02.png" height="35" alt="" /></span></td>
      </tr>
    </table></td>
  </tr>
</table>

    </div>
    <!--Logo 结束-->
    <!--导航条 开始-->
   <div style="width:100%; height:40px; background:#fafafa; line-height:40px; color:#fff">
 <div style="overflow-style:auto">
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="10%" height="40" align="center" class="axia"><a href="m_index.asp" style="color:#000; font-size:12px; font-weight:bold">首页</a></td> 
    <td width="16%" align="center"  class="bxia"><a href="m_spxz.asp?leixing=视频寻找" style="color:#000; font-size:12px; font-weight:bold">视频寻找</a></td> 
    <td width="16%" align="center"  class="axia"> <a href="m_spxz.asp?leixing=文字寻找" style="color:#000; font-size:12px; font-weight:bold">文字寻找</a></td>   
    <td width="16%" align="center"  class="axia"> <a href="m_jygy.asp" style="color:#000; font-size:12px; font-weight:bold"> 建言感言</a></td> 
    <td width="16%" align="center"  class="axia"><a href="m_spzs.asp?leixing=政法快讯" style="color:#000; font-size:12px; font-weight:bold">政法解读</a></td> 
 <td width="16%" align="center"  class="axia"><a href="cxzx.asp" style="color:#000; font-size:12px; font-weight:bold"> 关联我们</a></td> 
  </tr>
</table>

</div>


    </div>
<div style="clear:both; height:3px;"></div>
    <!--导航条 结束-->
  
  <div class="nav_APP"><ul class="clearfix">
	<li><a href="m_index.asp">首页<s class="s" style="background-image:url(upfile/201705260909230968494.png);"></s></a></li>
	
	<li><a href="m_spxz.asp?leixing=视频寻找">视频寻找<s class="s" style="background-image:url(upfile/201705251751129176595.png);"></s></a></li>
	
	<li><a href="m_spxz.asp?leixing=文字寻找">文字寻找<s class="s" style="background-image:url(upfile/201705251751294281943.png);"></s></a></li>
	
	<li><a href="m_spxz.asp?leixing=建言感言">建言感言<s class="s" style="background-image:url(upfile/201705251752037578640.png);"></s></a></li>
	
	<li><a href="m_spzs.asp?leixing=政法快讯">政法解读<s class="s" style="background-image:url(upfile/201705251752116927044.png);"></s></a></li>
	
	<li><a href="cxzx.asp">关联我们<s class="s" style="background-image:url(upfile/201705251752208846919.png);"></s></a></li>
    
    <li><a href="tsadd.asp">奖金给付方法<s class="s" style="background-image:url(upfile/1.png);"></s></a></li>
	
	<li><a href="grzx.asp">我的<s class="s" style="background-image:url(upfile/2.png);"></s></a></li>
	
	</ul><span class="arrow-up"></span></div>
    
    
    
    <script>
$(".okk").click(function(){
if($(".nav_APP").css("display")=="none"){
$(".nav_APP").show();
}else{
$(".nav_APP").hide();
}
});
</script> 
      

    <div class="picture">
      <ul class="wxlist">
        <li>
         <!-- <h1 style="font-size:18px;margin:0 auto; text-align:center; padding:10px;">
            河北省唐山市迁西县陈保福出5万元寻说法<br />
            </h1>-->
         <!-- <div class="InfoTime" style="margin:0 auto; text-align:center; padding:10px;">
            2019/7/19 11:29:53 &nbsp;&nbsp; 3123次浏览</div>-->
          <!-- 频道/文章内容 开始-->
          <div class="InfoSContent"><iframe frameborder="0" width="100%" height="250" src="https://v.qq.com/txp/iframe/player.html?vid=a0898y369kd" allowfullscreen="true">
</iframe>
        <ul class="subchannellist" >
       
        <li style="margin:0; padding:0">
         <a onclick="xy('428','案情简介','aqjj')"  style="font-size:14px; font-weight:bold; color:#000">案情简介</a>   
        </li>
        
            <li style="margin:0; padding:0; float:right">
         <a onclick="xy('428','奖金在这里','jjpd')"  style="font-size:14px; font-weight:bold; color:#000">奖金在这里</a>   
        </li>
      
      </ul>
      
      
<div style="clear:both"></div>


 <style>
      .share_icon{
        width:25%;float:left;text-align: center;
        font-size: 3.5vw;color: #999;
      }
      .share_img{
        width:56%;
      }
       .bdshare-button-style1-16 .bds_qq {
    	background-position:"";
	}
 
.bdshare-button-style1-16 a, .bdshare-button-style1-16 .bds_more {
    background-image:none;
    background-repeat: none;
    cursxqor: pointer;
    float: none;
    font-size: none;
    height: none;
    line-height: normal;
    margin:  0;
    padding-left: 0!important;
   width:100%;
height:66px;
display: inline-block;
}
</style>
 


      <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="31%" height="40" align="left" style="color:#F00; font-size:16px;">&nbsp;所有阳光说法</td>
    <td width="25%"><div style="width:28px; height:20px; float:left; background:url(images/plgs.jpg) top center no-repeat; text-align: center; text-indent:4px; padding-top:2px; color:#999">3</div>
    <td><div style="float:left; color:#999; line-height:30px; height:30px;">浏览：3123 次</div><div style="float:right;cursxqor:point" onClick="toshare()"><img src="fxtpok/fxtb.png" width="30" height="30" /></div></td><td width="3%"></td>
  </tr>
</table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr style="height:2px;">
          <td width="30%" bgcolor="#d97f17"></td>
          <td bgcolor="#e0e0e0"></td>
        </tr>
      </table>
      <ul id="more">

      <li class="single_item">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="50" valign="top" style="margin:0px;">
          <div class="touxiang"><div style='background:url(
		  ) no-repeat center center fixed;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover; width:50px; height:50px;'><img src=images/txok.png width=50 height=50 /></div></div>
          </td>
          <td width="506" height="50" align="center" valign="top"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="50"> <span style="color:#96C;font-size:14px;" class="nicheng"></span> <span style="color:#96C;font-size:14px;" class="zhiwei"></span>   </td>
            </tr>
          
          </table></td>
          <td width="68" height="25" valign="middle">
          
         <div class="dzs"><a href='dz.asp?id=365&pl_id=428'><div style='width:50px; height:20px; background:url(images/dianzan.png) top center no-repeat; text-align: center; font-size:14px; padding-top:2px; padding-left:10px;color:#999; cursxqor:pointer'>1</div></a></div></td>
         
        </tr>
        <tr>
          <td height="25" colspan="3" valign="top" style="margin:0px;"><table width="98%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td  style="text-indent:2em;"><span class="neirong"><span class="neirong"><div class='neirongok' style='overflow:hidden; line-height:23px;'><b>我认为：</b>告爆炸那家，只有给他告成无期他才承认谁的炸药，猜测要能当证据早就解决了。</div><div class='moreok' style="float:right"><span class='moreok-btn' style="color:#00F; padding-right:15px;">展开></a></span></div></span>
</span></td>
              </tr>
                <tr>
              <td height="20" valign="middle" style=" color:#999;text-indent:2em;"><span class="shijian">2019/7/19 17:48:07</span>
              </td>
            </tr>
          </table></td>
          </tr>
      </table>
      <div style="height:5px;"></div>

       <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr style="height:1px;">
       
          <td bgcolor="#e0e0e0"></td>
        </tr>
      </table>
      </li>
  
      
      <li class="single_item">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="50" valign="top" style="margin:0px;">
          <div class="touxiang"><div style='background:url(
		  ) no-repeat center center fixed;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover; width:50px; height:50px;'><img src=images/txok.png width=50 height=50 /></div></div>
          </td>
          <td width="506" height="50" align="center" valign="top"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="50"> <span style="color:#96C;font-size:14px;" class="nicheng"></span> <span style="color:#96C;font-size:14px;" class="zhiwei"></span>   </td>
            </tr>
          
          </table></td>
          <td width="68" height="25" valign="middle">
          
         <div class="dzs"><a href='dz.asp?id=366&pl_id=428'><div style='width:50px; height:20px; background:url(images/dianzan.png) top center no-repeat; text-align: center; font-size:14px; padding-top:2px; padding-left:10px;color:#999; cursxqor:pointer'>0</div></a></div></td>
         
        </tr>
        <tr>
          <td height="25" colspan="3" valign="top" style="margin:0px;"><table width="98%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td  style="text-indent:2em;"><span class="neirong"><span class="neirong"><div class='neirongok' style='overflow:hidden; line-height:23px;'><b>我认为：</b>大着点告吧，还有人的进监狱，炸药从哪来的</div><div class='moreok' style="float:right"><span class='moreok-btn' style="color:#00F; padding-right:15px;">展开></a></span></div></span>
</span></td>
              </tr>
                <tr>
              <td height="20" valign="middle" style=" color:#999;text-indent:2em;"><span class="shijian">2019/7/19 18:45:44</span>
              </td>
            </tr>
          </table></td>
          </tr>
      </table>
      <div style="height:5px;"></div>

       <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr style="height:1px;">
       
          <td bgcolor="#e0e0e0"></td>
        </tr>
      </table>
      </li>
  
      
      <li class="single_item">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="50" valign="top" style="margin:0px;">
          <div class="touxiang"><div style='background:url(
		  ) no-repeat center center fixed;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover; width:50px; height:50px;'><img src=images/txok.png width=50 height=50 /></div></div>
          </td>
          <td width="506" height="50" align="center" valign="top"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="50"> <span style="color:#96C;font-size:14px;" class="nicheng"></span> <span style="color:#96C;font-size:14px;" class="zhiwei"></span>   </td>
            </tr>
          
          </table></td>
          <td width="68" height="25" valign="middle">
          
         <div class="dzs"><a href='dz.asp?id=364&pl_id=428'><div style='width:50px; height:20px; background:url(images/dianzan.png) top center no-repeat; text-align: center; font-size:14px; padding-top:2px; padding-left:10px;color:#999; cursxqor:pointer'>0</div></a></div></td>
         
        </tr>
        <tr>
          <td height="25" colspan="3" valign="top" style="margin:0px;"><table width="98%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td  style="text-indent:2em;"><span class="neirong"><span class="neirong"><div class='neirongok' style='overflow:hidden; line-height:23px;'><b>我认为：</b>蔡佰亮，绝对构成犯罪，不是他私存的炸药他为什么给钱，</div><div class='moreok' style="float:right"><span class='moreok-btn' style="color:#00F; padding-right:15px;">展开></a></span></div></span>
</span></td>
              </tr>
                <tr>
              <td height="20" valign="middle" style=" color:#999;text-indent:2em;"><span class="shijian">2019/7/19 11:45:36</span>
              </td>
            </tr>
          </table></td>
          </tr>
      </table>
      <div style="height:5px;"></div>

       <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr style="height:1px;">
       
          <td bgcolor="#e0e0e0"></td>
        </tr>
      </table>
      </li>
  
      
     </ul>
      <div style="height:80px"></div>
      <div style="position:fixed; right:0px; bottom:0px; width:100%">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><a href="pladd.asp?id=428&leixing=视频寻找"><img src="images/plokdb.jpg" width="100%" /></a></td>
        </tr> 
      </table>
      </div>
     

        
        
               </li>
      </ul>
   
    </div>

  </body>

</html>


<script type="text/javascript">
var slideHeight = 92; // px
 $(function() {
  $(".neirongok").each(function() {
   if($(this).height() >= 92) {
    $(this).css('height' , slideHeight + 'px');
   }else{
    $(this).next(".moreok").hide();
   }
  });
  $(".moreok-btn").toggle(function(){
   $(this).html("收缩>");
   $(this).parent().prev(".neirongok").css({"height":"auto","overflow":"visible"});
  },function(){
   $(this).html("展开>");
   $(this).parent().prev(".neirongok").css({"height":slideHeight,"overflow":"hidden"});
  });
 });                      
</script>
'''
    print(extract_pubtime(a))